<?php
/**
 * @file $HeadURL: sns_weibobind.php $
 * @author $Author: LiangJian (liangjian@haibao.com) $
 * @date $Date: 2015-4-1 下午3:14:21 $
 * @brief 
 */
namespace haibao\user\model\data;

/**
 * 第三方登录记录表
 */
class SnsWeiboBind extends Base{
	
	const LOGIN_QQ = 'qq';
	
	const LOGIN_WB = 'wb';
	
	const LOGIN_WX = 'wx';

	public $user_id;

	public $wbuid;

	public $qquid;

	public $wxuid;

	public $iwbid;

	public function __construct(){
		parent::__construct();
		$this->intField('user_id', 'user_id', true);
		$this->stringField('wbuid', 'wbuid', true);
		$this->stringField('qquid', 'qquid', true);
		$this->stringField('iwbid', 'iwbid', true);
		$this->stringField('wxuid', 'wxuid');

		$this->setTableName('sns_weibobind');
	}
}